<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'list.jsp' starting page</title>
		<link href="css/style.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="js/jquery.js"></script>

	</head>
	<%--<script type="text/javascript">
		function(){
			window.onload=function(){
				document.form1.submit();//发出请求
			}
		}
	</script>
	--%><body topmargin="0" class="placeul">
	 <div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="logsSelect">日志查询</a></li>
    </ul>

    <ul class="placeul">
    	<li>用户工号:<%=session.getAttribute("userid") %></li>
    </ul>
    </div>
    
     <div class="place">
    <span>关键字查询：</span>
    <ul class="placeul">
    <li>
    	<form action="logsSelect" method="post" name="form1" target="result">
		<input type="text" name="title" maxlength="5"/> 
			<input type="submit"   value="查询主题" /> 
			<input type="text" name="id" maxlength="5"/> 
			<input type="submit"   value="查询项目ID" /> 
		</form>
    </li>
    </ul>
		
		
		<iframe frameborder="0" width="100%" name="result" height="90%" ></iframe>
		
	</body>
</html>
